
 // 查询订单支付路由 订单支付第三步（第一步异步后走）
class CashierRouteQueryModel {
  List<CashierRouteQueryData>? data;

  CashierRouteQueryModel({this.data});

  CashierRouteQueryModel.fromJson(Map<String, dynamic> json) {
    data = json["data"] == null ? null : (json["data"] as List).map((e) => CashierRouteQueryData.fromJson(e)).toList();
  }

  static List<CashierRouteQueryModel> fromList(List<Map<String, dynamic>> list) {
    return list.map(CashierRouteQueryModel.fromJson).toList();
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    if(data != null) {
      _data["data"] = data?.map((e) => e.toJson()).toList();
    }
    return _data;
  }
}

class CashierRouteQueryData {
  String? balance;
  String? bankListImg;
  String? bankTransLimitImg;
  String? payChannel;
  String? payMethod;
  String? payMethodName;
  String? payMethodUrl;
   bool? isSelect = false;

  CashierRouteQueryData({this.balance, this.bankListImg, this.bankTransLimitImg, this.payChannel, this.payMethod, this.payMethodName, this.payMethodUrl,this.isSelect = false});

  CashierRouteQueryData.fromJson(Map<String, dynamic> json) {
    balance = json["balance"];
    bankListImg = json["bankListImg"];
    bankTransLimitImg = json["bankTransLimitImg"];
    payChannel = json["payChannel"];
    payMethod = json["payMethod"];
    payMethodName = json["payMethodName"];
    payMethodUrl = json["payMethodUrl"];
    isSelect = json["isSelect"] ?? false;
  }

  static List<CashierRouteQueryData> fromList(List<Map<String, dynamic>> list) {
    return list.map(CashierRouteQueryData.fromJson).toList();
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    _data["balance"] = balance;
    _data["bankListImg"] = bankListImg;
    _data["bankTransLimitImg"] = bankTransLimitImg;
    _data["payChannel"] = payChannel;
    _data["payMethod"] = payMethod;
    _data["payMethodName"] = payMethodName;
    _data["payMethodUrl"] = payMethodUrl;
    _data["isSelect"] = isSelect;
    return _data;
  }
}